#include"HeapSort.h"


void InsertHeap(int* arr, int n)
{
	for (int i = (n-2)/2; i >= 0; i--)
	{
		AddJustDown(arr, n, i);
	}
	
}
void test1()
{
	int arr[] = { 9,8,7,6,5,4,3,2,1,0,1,1 };
	int n = sizeof(arr) / sizeof(int);

	InsertHeap(arr,n);
}
int main()
{
	test1();
	return 0;
}